package com.belle.sfsdfasdfsdf.service;

import com.belle.sfsdfasdfsdf.domain.ScheduleJob;

import java.util.List;

public interface JobService {
	int add(ScheduleJob scheduleJob);
	
	int update(ScheduleJob scheduleJob);
	
	List<ScheduleJob> findAllAvailable();
	
	ScheduleJob findByJobNameAndJobGroup(String jobName, String jobGroup);
	
	int delete(String jobName, String jobGroup);
}
